# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns, url
from events import views

handler404 = 'records.views.handler404'

urlpatterns = patterns('',
    url(r'^$', views.eventMain),
    url(r'^(?P<event_id>\d+)/$', views.eventDescript),
    url(r'^(?P<event_id>\d+)/signup/$', views.signupMain),
    url(r'^(?P<event_id>\d+)/result/$', views.eventResult),
    url(r'^(?P<event_id>\d+)/succeed/(?P<signupkey>\w+)/$', views.signupSucceed),
    url(r'^(?P<event_id>\d+)/signupmodify/(?P<signupkey>\w+)/$', views.signupModify),
    url(r'^(?P<event_id>\d+)/disclaimer/$', views.signupDisclaimer),
    #url(r'^dataexport/(?P<event_id>\d+)/(?P<event_column_str>\w+)/(?P<parti_column_str>\w+)/$', views.exportData),
    url(r'^dataexport/$', views.exportData),
)
